<html>
 <head><title>Country of residence</title></head>
 <body>
 <!-- Saving the citizen variable -->
 <%
 	String citizen = request.getParameter("citizen");
 	session.setAttribute("citizen", citizen);
 %>
 Name: <%= session.getAttribute("first") %> <%= session.getAttribute("middle") %> <%= session.getAttribute("last") %><p>
 Country of citizenship: <%= citizen %><p>
 Please choose your country of residence:
 <%
 	out.println("<a href='http://localhost:8080/A1/address.jsp?residence='" + citizen + "'>" + "Same as country of citizenship</a>");
 
 %>
 </body>
</html>